
package org.appfuse.service;

import java.util.List;

import org.appfuse.model.Menu;

public interface MenuManager extends Manager {
    /**
     * Retrieves all of the menus
     */
    public List getMenus(Menu menu);

    /**
     * Gets menu's information based on id.
     * @param id the menu's id
     * @return menu populated menu object
     */
    public Menu getMenu(final String id);

    /**
     * Saves a menu's information
     * @param menu the object to be saved
     */
    public void saveMenu(Menu menu);

    /**
     * Removes a menu from the database by id
     * @param id the menu's id
     */
    public void removeMenu(final String id);
}

